package cn.wolfcode.shop.service.impl;

import cn.wolfcode.shop.domain.SkuPropertyValue;
import cn.wolfcode.shop.mapper.SkuPropertyValueMapper;
import cn.wolfcode.shop.service.ISkuPropertyValueService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class SkuPropertyValueService implements ISkuPropertyValueService {
    @Autowired
    private SkuPropertyValueMapper skuPropertyValueMapper;
    /**
     * 共享sku属性的方法
     * @return
     */
    @Override
    public List<SkuPropertyValue> selectBySKUPropertyId(Long skuPropertyId) {
        return skuPropertyValueMapper.selectBySKUPropertyId(skuPropertyId);
    }
}
